package com.loukou.lkt.processor;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.loukou.lkt.lkt.service.ApiAuthorizationService;

@Service
public class ApiAuthorizationProcessor {

	@Autowired
	private ApiAuthorizationService apiAuthorizationService;

	public boolean VerificationApiAuthorization(String appKey,
			String verificationString, String timeStamp) {
		return apiAuthorizationService.VerificationApiAuthorization(appKey, "",
				verificationString, timeStamp);
	}

	public boolean VerificationApiAuthorization(String appKey,
			String beforeEncryptionParam, String verificationString,
			String timeStamp) {
		return apiAuthorizationService.VerificationApiAuthorization(appKey,
				beforeEncryptionParam, verificationString, timeStamp);
	}
}
